/*
 * Copyright (c) 2018.
 * This file was written by Fancyears·Milos·Malvis @connor. Any question/bug you can't post to 1243093366@qq.com.
 * ALL RIGHTS RESERVED.
 */
package org.fancyears.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * @author: Fancyears·Milos·Malvis
 * @CreateDate: 2018年12月6日 下午3:14:05
 */
@Data
@TableName("userrecord")
public class User {
	@TableId
	private Long id;
	// 若没有开启驼峰命名，或者表中列名不符合驼峰规则，可通过该注解指定数据库表中的列名，exist标明数据表中有没有对应列
	@TableField(value = "USER_NAME", exist = true)
	private String userName;
	private String password;
	private String address;
}
